package cn.hqm.hqmtechnology.dao.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * web 菜单栏
 */

@Data
@TableName("sys_role_menu")
@ApiModel(value = "sys_role_menu", description = "实体对象: web 菜单栏")
public class RoleMenu {
	/** 主键 */
	@ApiModelProperty(value = "主键")
    @TableField(value = "id")
	@TableId(type = IdType.AUTO)
	private Long id;
	/** 角色菜单主键 */
	@ApiModelProperty(value = "角色菜单主键")
    @TableField(value = "role_id")
	private Long roleId;
	/** 上级菜单ID (最多二级) */
	@ApiModelProperty(value = "上级菜单ID (最多二级)")
    @TableField(value = "parent_menu_id")
	private Long parentMenuId;
	/** 菜单名称 */
	@ApiModelProperty(value = "菜单名称")
    @TableField(value = "label_name")
	private String labelName;
	/** 菜单图标 */
	@ApiModelProperty(value = "菜单图标")
    @TableField(value = "icon")
	private String icon;
	/** 菜单路径 */
	@ApiModelProperty(value = "菜单路径")
    @TableField(value = "path")
	private String path;
	/** 新增时间 */
	@ApiModelProperty(value = "新增时间")
    @TableField(value = "create_time")
	private LocalDateTime createTime;
	/** 是否删除 deleted == 0? false: true */
	@ApiModelProperty(value = "是否删除 deleted == 0? false: true")
    @TableField(value = "deleted")
	private Integer deleted;
	
}